package com.penghaisoft.microwms.product.service;

import com.penghaisoft.microwms.common.data.model.ProScrapOut;
import com.penghaisoft.microwms.common.dto.ProHandInDto;
import com.penghaisoft.microwms.common.dto.ProScrapOutDto;
import com.penghaisoft.microwms.common.dto.Resp;
import com.penghaisoft.microwms.common.dto.TransResult;
import com.penghaisoft.microwms.common.page.Pager;

import java.util.List;

/**
 * <p>
 * 业务接口类
 * </p>
 *
 * @author
 * @createDate
 **/
public interface IProScrapOutService {

    public Resp create(ProScrapOut proScrapOut);

    public Resp delete(ProScrapOut proScrapOut);

    public Pager<ProScrapOut> findListByCondition(int page, int rows, ProScrapOut condition);

    public ProScrapOut findById(String id);

    public Resp update(ProScrapOut proScrapOut);

    public Resp insert(List<ProScrapOut> list, String scrapOutNo, String loginName);

    public Resp loadBill(ProScrapOut proScrapOut);

    public List<ProScrapOut> queryListByAny(ProScrapOut condition);

    public TransResult scrapOutScanBarcode(ProScrapOutDto proScrapOutDto);

    public TransResult scrapOutComplete(ProScrapOutDto proScrapOutDto);

    public TransResult scrapOutDelBarcode(ProScrapOutDto proScrapOutDto);
}
